/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package model;

import java.sql.Date;

/**
 *
 * @author XuanTuan
 */
public class Certificate {

    String serial;
    String CN;
    String OU;
    String O;
    String L;
    String C;
    Date not_after;
    Date not_before;
    String status;
    String certPath;
    String certName;

    public Certificate(String serial, String CN, String OU, String O, String L, String C, Date not_after, Date not_before, String status) {
        this.serial = serial;
        this.CN = CN;
        this.OU = OU;
        this.O = O;
        this.L = L;
        this.C = C;
        this.not_after = not_after;
        this.not_before = not_before;
        this.status = status;
    }

    public Certificate(String serial, Date not_after, Date not_before, String status, String certPath,String certName) {
        this.serial = serial;
        this.not_after = not_after;
        this.not_before = not_before;
        this.status = status;
        this.certPath = certPath;
        this.certName = certName;
    }

    public String getCertName() {
        return certName;
    }

    public void setCertName(String certName) {
        this.certName = certName;
    }

    

    public String getCertPath() {
        return certPath;
    }

    public void setCertPath(String certPath) {
        this.certPath = certPath;
    }

    

    public Date getNot_before() {
        return not_before;
    }

    public void setNot_before(Date not_before) {
        this.not_before = not_before;
    }

    public String getC() {
        return C;
    }

    public void setC(String C) {
        this.C = C;
    }

    public String getCN() {
        return CN;
    }

    public void setCN(String CN) {
        this.CN = CN;
    }

    public String getL() {
        return L;
    }

    public void setL(String L) {
        this.L = L;
    }

    public String getO() {
        return O;
    }

    public void setO(String O) {
        this.O = O;
    }

    public String getOU() {
        return OU;
    }

    public void setOU(String OU) {
        this.OU = OU;
    }

    public Date getNot_after() {
        return not_after;
    }

    public void setNot_after(Date not_after) {
        this.not_after = not_after;
    }


    public String getSerial() {
        return serial;
    }

    public void setSerial(String serial) {
        this.serial = serial;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    
    
}
